package com.example01.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class Student {
    private String stuNum;
    private String stuName;
    private Integer stuAge;
    private Integer classId;

    public Student( String stuNum,String stuName, Integer stuAge, Integer classId) {
        this.stuNum = stuNum;
        this.stuName = stuName;
        this.stuAge = stuAge;
        this.classId = classId;
    }

    private List<Course> courses;
}
